﻿using NCP.Infrastructure.Common.Specification;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCP.Recruiting.Domain.Aggregates.MessageTemplates
{
    public static class MessageTemplateSpecifications
    {
        public static Specification<MessageTemplate> GetAllByCompanyId(Guid id)
        {
            return new DirectSpecification<MessageTemplate>(m => m.CompanyId.Equals(id) && !m.Deleted);
        }
    }
}
